package com.zscat.mallplus.oms.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zscat.mallplus.oms.entity.OmsCartItem;
import com.zscat.mallplus.oms.entity.OmsOrderRemindShip;
import com.zscat.mallplus.oms.mapper.OmsCartItemMapper;
import com.zscat.mallplus.oms.mapper.OmsOrderRemindShipMapper;
import com.zscat.mallplus.oms.service.IOmsCartItemService;
import com.zscat.mallplus.oms.service.IOmsOrderRemindShipService;
import org.springframework.stereotype.Service;

@Service
public class OmsOrderRemindShipServiceImpl extends ServiceImpl<OmsOrderRemindShipMapper, OmsOrderRemindShip> implements IOmsOrderRemindShipService {

    @Override
    public Object getShippRemindCount(Integer storeId) {
        return this.count(new QueryWrapper<OmsOrderRemindShip>().eq("store_id", storeId).eq("is_delete", 0).eq("is_ship", 0));
    }
}
